<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath = request.getScheme() + "://" +
            request.getServerName() + ":" + request.getServerPort() +
            request.getContextPath() + "/";
%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>客户退房</title>
    <base href="<%=basePath%>" />
    <script type="text/javascript" src="js/jquery-3.4.1.js"></script>
    <script type="text/javascript">
        $(function(){
            //在当前页面dom对象加载后，执行loadStudentData（）
            loadStudentData();
            $("#btnLoader").click(function(){
                loadStudentData();

            })
        })
        function loadStudentData(){
            $.ajax({
                url:"hlm/queryHome.do",
                type:"get",
                dataType:"json",
                success:function(){
                    //清除旧的数据
                    $("#info").html("");
                    //增加新的数据
                    let Dialog;
                    Dialog.open({URL:"javascript:void(document.write('这是弹出窗口中的内容'))"});
                }
            })
        }

    </script>
</head>
<body>
<p>客户退房</p>
<tbody id="info">

</tbody>
<input type="button" id="btnLoader" value="查询数据">
</body>
</html>
